package com.zy.openchat.core.model.message;

import java.util.List;

public class MessageReactionInfo {
    public long messageId;
    public long chatId;
    public int type;
    public List<MessageReaction> reactionList;

    public long getChatId(){
        if(type==2){
            return ChatInfo.toLocalChatId(chatId);
        }
        return chatId;
    }

}
